<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page session="false" %>
<html>
<head>
	<title>Index</title>
<link href="${pageContext.request.contextPath}/css/star-rating.css" rel="stylesheet" type="text/css" />
<link href="http://netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet">
<script type="text/javascript" src="${pageContext.request.contextPath}/js/star-rating.js"></script>

</head>
<body>

	<c:forEach items="${vehicleList}" var="obj">
	<div
		style="width: 270px; height: 150px; border: 1px solid; margin-top: 20px; margin-left: 35px; margin-bottom: 10px; border-radius: 5px; float: left;">
		<table style="width: 100%">
			<tr>
				<td style="width: 120px; height: 81px;" align="center" colspan="2">
					<img
					src="http://www.easyrentpro-demo-car-rental.com/car_image/thumb/4.jpg"
					border="0" />
				</td>
			</tr>
			<tr>
				<td style="text-align: center;">${obj.model_name}</td>
				<td>
					<input data-show-clear="false" data-show-caption="false" value= "${obj.count_feedback}"  type="number" data-readonly="true" class="rating" min=0 max=5 step=0.5 data-size="xs">
				</td>
			</tr>

			<tr>
				<td colspan="2"><input type="button" value="Đặt xe"
					style="float: right" /></td>
			</tr>
		</table>
		
	</div>
	</c:forEach>
</body>
</html>
